package cn.pud.rpademo01.utils;

import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.FieldDefaults;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: Miyako
 * @Date: 2024-11-12-9:34
 * @Description: 网易邮箱相关配置类
 */
@Component(value = "EmailModel")
@ConfigurationProperties("wangyi.email")
@FieldDefaults(level = AccessLevel.PRIVATE)
@Getter
@Setter
@NoArgsConstructor
public class EmailModel {

    String username;

    String password;

    String imapHost;

    String smtpHost;
}
